package jwxx.json;

import com.google.gson.annotations.Expose;

/**
 * @author Dzik Shar
 * @author JWXX
 * @version 1.2
 */
public class PlayerListNearByReq extends GsonBase implements Cloneable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 741793705845824707L;

	@Expose
	private int selfId;
	
	@Expose
	private double longitude;
	
	@Expose
	private double latitude;
	
	public PlayerListNearByReq()
	{
		//GsonBase rely on this func
		setJsonType(PlayerListNearByReq.class.getName());
		
		selfId = 0;
		longitude = 0;
		latitude = 0;
	}
	
    //GsonBase rely on this func
	public static Object InitFromJson(String JsonString)
	{
		return InitFromJson(JsonString,PlayerListNearByReq.class);	
	}
	
	public int getSelfId() {  
        return selfId;  
    }  
    public void setSelfId(int selfId) {  
        this.selfId = selfId;  
    }  
    
    
	public double getLongitude() {  
        return longitude;  
    }  
    public void setLongitude(double longitude) {  
        this.longitude = longitude;  
    }  
    
	public double getLatitude() {  
        return latitude;  
    }  
    public void setLatitude(double latitude) {  
        this.latitude = latitude;  
    }  
}
